﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kryptonalysis.Statistics;

namespace Kryptonalysis.EventArguments
{
    /// <summary>
    /// AnalysisEndedEventArgs
    /// </summary>
    public class AnalysisEndedEventArgs : EventArgs
    {
        private string _PW;
        private AnalysisStatistic _Stats;

        /// <summary>
        /// Gets the password.
        /// </summary>
        /// <value>The password.</value>
        public string PW
        {
            get { return _PW; }
        }

        /// <summary>
        /// Gets the statistics.
        /// </summary>
        /// <value>The statistics.</value>
        public AnalysisStatistic Stats
        {
            get { return _Stats; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AnalysisEndedEventArgs"/> class.
        /// </summary>
        /// <param name="pw">The password.</param>
        /// <param name="stats">The stats.</param>
        public AnalysisEndedEventArgs(string pw, AnalysisStatistic stats)
        {
            _PW = pw;
            _Stats = stats;
        }
    }
}
